<template>
  <div>
    <div id="map"></div>
    <cesiumDraw :viewer="viewer"></cesiumDraw>
  </div>
</template>

<script>
import cesiumDraw from "cesium-draw";
import "cesium-draw/dist/theme/default.css";
//import 'cesium-draw/dist/theme/dark.css'
export default {
  name: "your-component",
  data() {
    return {
      viewer: null,
    };
  },
  components: { cesiumDraw },
  mounted() {
    let Cesium=this.cesium
    this.viewer = new Cesium.Viewer("map");
  },
};
</script>
